package com.eorchis.module.classuser.ui.commond;

import java.io.Serializable;
import java.util.Date;




import com.eorchis.core.basedao.entity.IBaseEntity;
import com.eorchis.core.ui.commond.ICommond;
import com.eorchis.module.basedata.domain.BaseData;
import com.eorchis.module.classuser.domain.ClassUser;
import com.eorchis.module.trainingclass.domain.TrainingClass;
import com.eorchis.module.user.domain.User;

import org.hibernate.validator.constraints.NotBlank;

import com.eorchis.core.ui.commond.ICommonField;


/**
 * Title: ClassUserValidCommond<br>
 * Description: 培训班用户关系ValidCommond<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author HuangTF
 * @createDate 2013-12-10
 * @version $Revision$
 */
public class ClassUserValidCommond implements ICommond,ICommonField {
	
	public static final Integer USER_STATE_YES=new Integer(1);//考勤
	public static final Integer USER_STATE_NO=new Integer(2);//缺勤
	
	private ClassUser classUser;
	
	private String[] userIds;
	
	private String userId;
	
	private String[] auditngNames;
	
	private String deptId;//部门Id
	
	private String userNameInfo;
	private String loginIdInfo;
	private String depnameInfo;
	private String rankInfo;
	private String dutyLevelCodeInfo;

	public ClassUserValidCommond(){
		classUser = new ClassUser();
	}
	
	public ClassUserValidCommond(ClassUser classUser){
		this.classUser = classUser;
	}

	public Serializable getEntityID() {
		return classUser.getClassUserId();
	}

	@Override
	public IBaseEntity toEntity() {
		return classUser;
	}

	/**
	 * 获取培训班用户关系ID
	 */	
	@NotBlank
	public String getClassUserId() {
		return classUser.getClassUserId();
	}
	/**
	 * 设置培训班用户关系ID
	 */		
	public void setClassUserId(String classUserId) {
		classUser.setClassUserId(classUserId);
	}
	/**
	 * 获取培训班
	 */	
	@NotBlank
	public TrainingClass getTrainingClass() {
		return classUser.getTrainingClass();
	}
	/**
	 * 设置培训班
	 */		
	public void setTrainingClass(TrainingClass trainingClass) {
		classUser.setTrainingClass(trainingClass);
	}
	/**
	 * 获取用户
	 */	
	@NotBlank
	public User getUser() {
		return classUser.getUser();
	}
	/**
	 * 设置用户
	 */		
	public void setUser(User user) {
		classUser.setUser(user);
	}
	/**
	 * 获取学时
	 */	
	public Double getTrainingHours() {
		return classUser.getTrainingHours();
	}
	/**
	 * 设置学时
	 */		
	public void setTrainingHours(Double trainingHours) {
		classUser.setTrainingHours(trainingHours);
	}
	
	/**
	 * 获取审核状态
	 */	
	public Integer getAuditingState() {
		return classUser.getAuditingState();
	}
	/**
	 * 设置审核状态
	 */		
	public void setAuditingState(Integer auditingState) {
		classUser.setAuditingState(auditingState);
	}
	
	
	
	public Date getCreateDate() {
		return classUser.getCreateDate();
	}

/*	public void setCreateDate(Date createDate) {
		classUser.setCreateDate(createDate);
	}

	public Integer getEnabled() {
		return classUser.getEnabled();
	}

	public void setEnabled(Integer enabled) {
		classUser.setEnabled(enabled);
	}*/

	public Integer getActiveState() {
		// TODO Auto-generated method stub
		return null;
	}

	public void setActiveState(Integer arg0) {
		// TODO Auto-generated method stub
		
	}

	public void setCreateDate(Date arg0) {
		// TODO Auto-generated method stub
		
	}
	public Date getAuditingUserDate() {
		return classUser.getAuditingUserDate();
	}
	public void setAuditingUserDate(Date auditingUserDate) {
		classUser.setAuditingUserDate(auditingUserDate);
	}
	public String getSignUpYear() {
		return classUser.getSignUpYear();
	}
	public void setSignUpYear(String signUpYear) {
		classUser.setSignUpYear(signUpYear);
	}
	public Integer getSignUpType() {
		return classUser.getSignUpType();
	}
	public void setSignUpType(Integer signUpType) {
		classUser.setSignUpType(signUpType);
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getUserName() {
		return classUser.getUserName();
	}

	public void setUserName(String userName) {
		classUser.setUserName(userName);
	}

	public BaseData getSexCode() {
		return classUser.getSexCode();
	}

	public void setSexCode(BaseData sexCode) {
		classUser.setSexCode(sexCode);
	}

	public Date getBirthday() {
		return classUser.getBirthday();
	}

	public void setBirthday(Date birthday) {
		classUser.setBirthday(birthday);
	}

	public BaseData getFolkCode() {
		return classUser.getFolkCode();
	}

	public void setFolkCode(BaseData folkCode) {
		classUser.setFolkCode(folkCode);
	}

	public String getMobileTelephone() {
		return classUser.getMobileTelephone();
	}

	public void setMobileTelephone(String mobileTelephone) {
		classUser.setMobileTelephone(mobileTelephone);
	}

	public String getDutyRemark() {
		return classUser.getDutyRemark();
	}

	public void setDutyRemark(String dutyRemark) {
		classUser.setDutyRemark(dutyRemark);
	}

	public String getRemark() {
		return classUser.getRemark();
	}

	public void setRemark(String remark) {
		classUser.setRemark(remark);
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String[] getUserIds() {
		return userIds;
	}

	public void setUserIds(String[] userIds) {
		this.userIds = userIds;
	}

	public String getRejectReason() {
		return classUser.getRejectReason();
	}

	public void setRejectReason(String rejectReason) {
		classUser.setRejectReason(rejectReason);
	}

	public String[] getAuditngNames() {
		return auditngNames;
	}

	public void setAuditngNames(String[] auditngNames) {
		this.auditngNames = auditngNames;
	}

	public String getUserNameInfo() {
		return userNameInfo;
	}

	public void setUserNameInfo(String userNameInfo) {
		this.userNameInfo = userNameInfo;
	}

	public String getLoginIdInfo() {
		return loginIdInfo;
	}

	public void setLoginIdInfo(String loginIdInfo) {
		this.loginIdInfo = loginIdInfo;
	}

	public String getRankInfo() {
		return rankInfo;
	}

	public void setRankInfo(String rankInfo) {
		this.rankInfo = rankInfo;
	}

	public String getDutyLevelCodeInfo() {
		return dutyLevelCodeInfo;
	}

	public void setDutyLevelCodeInfo(String dutyLevelCodeInfo) {
		this.dutyLevelCodeInfo = dutyLevelCodeInfo;
	}

	public String getDepnameInfo() {
		return depnameInfo;
	}

	public void setDepnameInfo(String depnameInfo) {
		this.depnameInfo = depnameInfo;
	}

	/**
	 * 获取最后操作时间
	 * @return
	 */
	public Date getLatestOperateDate() {
		return classUser.getLatestOperateDate();
	}
	
	/**
	 * 设置最后操作时间
	 * @param latestOperateDate
	 */
	public void setLatestOperateDate(Date latestOperateDate) {
		classUser.setLatestOperateDate(latestOperateDate);
	}

	public Date getLastOperateTime() {
		return classUser.getLastOperateTime();
	}

	public void setLastOperateTime(Date lastOperateTime) {
		classUser.setLastOperateTime(lastOperateTime);
	}
	
	
}